<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <title>后台首页</title>
</head>
<body>
<h1>Hello World</h1>


<a href="${pageContext.request.contextPath}/selectList">查询所有用户</a>
<br>
<a href="${pageContext.request.contextPath}/add">增加用户</a>
<br>
<a href="${pageContext.request.contextPath}/delete">删除用户</a>
<br>
<a href="${pageContext.request.contextPath}/update">更新用户</a>
<br>
<a href="${pageContext.request.contextPath}/getRoleByid?id=1">user得到role</a>
<br>
<a href="${pageContext.request.contextPath}/getUserByid?id=1">role得到user</a>
<br>
<a href="${pageContext.request.contextPath}/getDepartmentByid?id=1">得到department对象</a>
<br>
<a href="${pageContext.request.contextPath}/getDePartmentByemployeeId?id=1">employee得到department</a>
<br>
<a href="${pageContext.request.contextPath}/getemployeeByDepartmentId?id=1">department得到employee</a>
<br>

<br>
</body>
</html>
